mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 13:35:50 +01:00
Define the static values for the user type.
This commit is contained in:
@@ -10,3 +10,10 @@ trait AccountService {
|
||||
Query(Accounts) filter(_.userName is userName.bind) firstOption
|
||||
|
||||
}
|
||||
|
||||
object AccountService {
|
||||
|
||||
val Normal = 0
|
||||
val Administrator = 1
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user