diff options
author | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-10-30 17:18:40 +0100 |
---|---|---|
committer | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-10-30 17:18:40 +0100 |
commit | 2e1688cb0244278c0137ef57cd2b55b4b025ae06 (patch) | |
tree | e38d89e3406a9a1f48f166f545ede2c90de5af58 /Backend/Api/Api/Controllers/AuthController.cs | |
parent | 79afe982262244c1dbedc7ba0fbf9189e7301d31 (diff) |
Korisnik je verifikovan na registraciji.
Diffstat (limited to 'Backend/Api/Api/Controllers/AuthController.cs')
-rw-r--r-- | Backend/Api/Api/Controllers/AuthController.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Backend/Api/Api/Controllers/AuthController.cs b/Backend/Api/Api/Controllers/AuthController.cs index 8262487..d835d97 100644 --- a/Backend/Api/Api/Controllers/AuthController.cs +++ b/Backend/Api/Api/Controllers/AuthController.cs @@ -22,6 +22,7 @@ namespace Api.Controllers novi.password = creds.password; novi.username = creds.username; novi.name = creds.name; + novi.verified = true; novi.creationDate = DateTime.Now.ToUniversalTime(); novi._id = ""; |