This is quite a specific use case, but we have discovered that if you follow these steps, you get stuck:
right after install, log in with your webmaster credentials (user created during install)
in the administration, do not add photos, create a new user "user1", with no admin status
log out
log in as "user1". The identification seems to fail (it doesn't) and you can't log out. You're stuck.
What happens is that the step 4 works: you're logged in as "user1", but since the gallery is empty, no_photo_yet is triggered and displays the login form because you're not admin. When trying to log in, identication.php says "you're already logged in" with a redirection to gallery home.
no_photo_yet page should not be triggered if the visitor is a connected user, without admin status.
This is quite a specific use case, but we have discovered that if you follow these steps, you get stuck:
1. right after install, log in with your webmaster credentials (user created during install)
2. in the administration, do not add photos, create a new user "user1", with no admin status
3. log out
4. log in as "user1". The identification seems to fail (it doesn't) and you can't log out. You're stuck.
What happens is that the step 4 works: you're logged in as "user1", but since the gallery is empty, no_photo_yet is triggered and displays the login form because you're not admin. When trying to log in, identication.php says "you're already logged in" with a redirection to gallery home.
no_photo_yet page should not be triggered if the visitor is a connected user, without admin status.
<!-- github-sync-id:723008947 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This is quite a specific use case, but we have discovered that if you follow these steps, you get stuck:
What happens is that the step 4 works: you're logged in as "user1", but since the gallery is empty, no_photo_yet is triggered and displays the login form because you're not admin. When trying to log in, identication.php says "you're already logged in" with a redirection to gallery home.
no_photo_yet page should not be triggered if the visitor is a connected user, without admin status.
Maybe a bit connected to #1138