Concretely, you will simply have to repeat the code of one of both shrines. Once the combination complete, the door will open to you (don't forget to do it in both directions to get all chests.
Written by Bastien "Lloyd" Dubosq-Luyer. Translated from French by Millenium.us.org.