Skip to content

Commit

Permalink
removed placeholders when user is created
Browse files Browse the repository at this point in the history
  • Loading branch information
zaaakher committed Dec 31, 2023
1 parent 0f013fc commit 0bd6ed4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sikka/hajar",
"version": "1.1.39",
"version": "1.1.40",
"description": "Toolkit to create SaaS applications",
"author": "Sikka Software <contact@sikka.io> (http://sikka.io)",
"license": "MIT",
Expand Down
11 changes: 3 additions & 8 deletions src/core/authentication/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,9 @@ class HajarAuth {
role: adminRole._id,
uid: newUser._id,
username: userDetails.username,
firstName: {
en: "ENGLISH FIRST NAME",
ar: "ARABIC FIRST NAME",
},
lastName: {
en: "ENGLISH LAST NAME",
ar: "ARABIC LAST NAME",
},
// TODO: i removed the ARABIC FIRST NAME and ENGLISH FIRST NAME placeholders
firstName: { en: "", ar: "" },
lastName: { en: "", ar: "" },
});

const newAdmin = await admin.save();
Expand Down

0 comments on commit 0bd6ed4

Please sign in to comment.