Skip to content

Commit

Permalink
Fix namings
Browse files Browse the repository at this point in the history
  • Loading branch information
filipbekic01 committed Sep 22, 2024
1 parent 693e885 commit a70145e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion backend/ResQueue/ResQueue/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ public static void Main(string[] args)

opt.User.RequireUniqueEmail = true;
},
mongoOptions => { mongoOptions.ConnectionString = $"{settings.MongoDBConnectionString}"; })
mongoOptions =>
{
mongoOptions.ConnectionString = $"{settings.MongoDBConnectionString}";
mongoOptions.UsersCollection = "users";
mongoOptions.RolesCollection = "roles";
mongoOptions.MigrationCollection = "_migrations";
})
.AddUserManager<ResqueueUserManager>();

builder.Services.AddMongoDb();
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/dialogs/RegisterDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const {
const { mutateAsync: loginAsync } = useLoginMutation()
const email = ref('[email protected]')
const password = ref('Password1!')
const email = ref('')
const password = ref('')
const passwordType = ref('password')
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/forgot-password/ForgotPassword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { useRouter } from 'vue-router'
const toast = useToast()
const router = useRouter()
const email = ref('[email protected]')
const email = ref('')
const resetCode = ref('')
const newPassword = ref('')
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/login/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { useRouter } from 'vue-router'
const toast = useToast()
const email = ref('[email protected]')
const password = ref('Password1!')
const email = ref('')
const password = ref('')
const router = useRouter()
Expand Down

0 comments on commit a70145e

Please sign in to comment.