Logo
Explore Help
Register Sign In
starred/BookStack
1
0
Fork 0
You've already forked BookStack
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-02-25 03:10:24 +03:00
Code Issues 784 Packages Projects Releases 14 Wiki Activity
Files
bfde896f0bf6838f7acf9cd20a8fd60ab25307a2
BookStack/app/Exceptions/LoginAttemptInvalidUserException.php

8 lines
113 B
PHP
Raw Normal View History

Auth: Added specific guards against guest account login Hardened things to enforce the intent that the guest account should not be used for logins. Currently this would not be allowed due to empty set password, and no password fields on user edit forms, but an error could occur if the login was attempted. This adds: - Handling to show normal invalid user warning on login instead of a hash check error. - Prevention of guest user via main login route, in the event that inventive workarounds would be used by admins to set a password for this account. - Test for guest user login.
2024-12-11 14:22:48 +00:00
<?php
namespace BookStack\Exceptions;
class LoginAttemptInvalidUserException extends LoginAttemptException
{
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 40ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API