aboutsummaryrefslogtreecommitdiff
path: root/Backend/Api
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-10-30 17:18:40 +0100
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-10-30 17:18:40 +0100
commit2e1688cb0244278c0137ef57cd2b55b4b025ae06 (patch)
treee38d89e3406a9a1f48f166f545ede2c90de5af58 /Backend/Api
parent79afe982262244c1dbedc7ba0fbf9189e7301d31 (diff)
Korisnik je verifikovan na registraciji.
Diffstat (limited to 'Backend/Api')
-rw-r--r--Backend/Api/Api/Controllers/AuthController.cs1
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 = "";