aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_modals/register-modal
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-05-05 02:50:09 +0200
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-05-05 02:50:09 +0200
commitf141602c2906e72694d90e13e54d370e8b8cbd00 (patch)
treeb3baa661438ed5aeb979abd4ac3dd7277b702d86 /frontend/src/app/_modals/register-modal
parentc12f31b70fbce8542c2d4e23b5f003d7488bb03f (diff)
Prosiren korisnik na frontu. Popravljen bug po izmeni korisnickog profila.
Diffstat (limited to 'frontend/src/app/_modals/register-modal')
-rw-r--r--frontend/src/app/_modals/register-modal/register-modal.component.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/src/app/_modals/register-modal/register-modal.component.ts b/frontend/src/app/_modals/register-modal/register-modal.component.ts
index 9da5484d..575fc717 100644
--- a/frontend/src/app/_modals/register-modal/register-modal.component.ts
+++ b/frontend/src/app/_modals/register-modal/register-modal.component.ts
@@ -150,7 +150,9 @@ export class RegisterModalComponent implements OnInit {
username: this.username,
password: this.pass1,
email: this.email,
- photoId: "1"
+ photoId: "1",
+ isPermament:true,
+ dateCreated:new Date()
}
this.authService.register(user)