Skip to content

Commit a0e444c

Browse files
committed
added manager user type
1 parent 0250909 commit a0e444c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Sources/LocalAuthentication/Schema/Account.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,14 @@ public class Account: PostgresStORM {
185185
}
186186

187187
public enum AccountType {
188-
case provisional, standard, admin, inactive
188+
case provisional, standard, admin, manager, inactive
189189

190190
public static func from(_ str: String) -> AccountType {
191191
switch str {
192192
case "admin":
193-
return .admin
193+
return .admin
194+
case "manager":
195+
return .manager
194196
case "standard":
195197
return .standard
196198
case "inactive":

0 commit comments

Comments
 (0)