Redirect or do something if the authentication fails #117

Open
opened 2022-06-02 20:28:59 +02:00 by Mica-CRT · 0 comments
Mica-CRT commented 2022-06-02 20:28:59 +02:00 (Migrated from github.com)

Hi!, i tried to install this repo on my setup and works very well; but i noticed that if the authentication fails (such as incorrect passwd/user or an inexistent account) the page cause a 500 internal error, how can i do a possible redirect to the eventual log-in page or a personalized log-in error page?
I tried to check if some connection's/authentication's method return a "false" value or something like this and do some conditions but the browser still show me a 500 internal error.

Hi!, i tried to install this repo on my setup and works very well; but i noticed that if the authentication fails (such as incorrect passwd/user or an inexistent account) the page cause a 500 internal error, how can i do a possible redirect to the eventual log-in page or a personalized log-in error page? I tried to check if some connection's/authentication's method return a "false" value or something like this and do some conditions but the browser still show me a 500 internal error.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
icewind/SMB#117
No description provided.