MCPcopy Create free account
hub / github.com/error311/FileRise / userExists

Method userExists

src/FileRise/Domain/AuthModel.php:18–21  ·  view source on GitHub ↗
(string $username)

Source from the content-addressed store, hash-verified

16 private const FAIL2BAN_LOG_MAX_FILES = 5;
17
18 public static function userExists(string $username): bool
19 {
20 return UserModel::getUserRole($username) !== null;
21 }
22
23 public static function isOidcDemoteAllowed(): bool
24 {

Callers 2

validateRememberTokenMethod · 0.95
consumeRememberTokenMethod · 0.95

Calls 1

getUserRoleMethod · 0.45

Tested by

no test coverage detected