diff options
Diffstat (limited to 'src/utils.nim')
-rw-r--r-- | src/utils.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.nim b/src/utils.nim index 379dfea..748e1e8 100644 --- a/src/utils.nim +++ b/src/utils.nim @@ -246,7 +246,7 @@ let initialUser* = try: none(string) let uid = uidString.get.parseInt - if uid == 0: none(User) else: some(getUser(uid)) + if uid == 0 or currentUser.uid != 0: none(User) else: some(getUser(uid)) except: none(User) |