mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
clean up
This commit is contained in:
parent
02eaf93c02
commit
e5659ed93e
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ export const authOptions = {
|
||||||
isAdmin: { label: 'Admin', type: 'checkbox' },
|
isAdmin: { label: 'Admin', type: 'checkbox' },
|
||||||
},
|
},
|
||||||
async authorize(credentials) {
|
async authorize(credentials) {
|
||||||
// Take credentials and convert the isAdmin string to a boolean
|
|
||||||
const { firstName, lastName, email, password, isAdmin } = await validateCredentials(
|
const { firstName, lastName, email, password, isAdmin } = await validateCredentials(
|
||||||
{
|
{
|
||||||
...credentials,
|
...credentials,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue