(SOLVED) Hello! We have disabled unverified email ...
# talk-kratos
l
(SOLVED) Hello! We have disabled unverified email addresses from logging in according to these instructions: https://www.ory.sh/docs/actions/require-verified-address. This does not seem to be working on the registration flow though, if no Verification code is entered on the verification screen and the user navigates from verification page back to the start page, they will get a valid Ory Session. Is this the expected behavior or is it possible to prevent?
I realized that removing this hook from the registration flow would solve my problem
Copy code
registration:
      ui_url: <http://localhost:3000/self-service/registration>
      after:
        password:
          hooks:
            - hook: session
I would love to still be able to log in the user IF they have entered the correct verification code though, if anyone knows how to do this please let me know