redirection after approval #442
Labels
No labels
bug
chore
documentation
enhancement
help
in-progress
question
ready-for-release
released
translation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
adam/gate#442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug:
I'm not really sure if this is a bug, but when a new user signs up,he gets a waiting for approval screen. The thing is that after being approved and he clicks login, he doesn't get redirected to DEFAULT_REDIRECT, rather to the voidauth domainTo Reproduce:
Try to sign in as an un approved user
You get the "Approval Required" screen
Admin aprooves you
You click login
You log in with your credentials
You get redirected to your voidauth domain instead of DEFAULT_REDIRECT
Expected behavior:
I suppose you should be redirected to DEFAULT_REDIRECT
Database Driver:
Screenshots:
Additional context:
This should be fixed in the latest release v1.13.0
Just checked and I now see another issue. After signing up the user gets a waiting for approval screen only this time there are two buttons. Try again and log in. The thing is that even after the admin approves the user, clicking the buttons without refreshing the page results in 403. In case the user refreshes the page and then clicks any of the buttons he gets redirected to the voidauth domain.
I believe there should be only 1 button which redirects the user to the domain he tried to connect to in the first place.
@notquitenothing
Interesting, I am not able to replicate on my setup. User signs up, redirected to 'approval required' page, 'Try Again' button works (even after refresh) and sends them to requested destination. Two buttons right next to each other may not be the right UX, but there should be some way for a user on the approval required page to try logging in again. I will look at it some more when I get the chance and see if I can find a way to replicate the issue
Ok, thanks!