1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00
This commit is contained in:
Tyler Myracle 2024-01-21 15:42:23 -06:00
parent 02eaf93c02
commit e5659ed93e

View file

@ -102,7 +102,6 @@ export const authOptions = {
isAdmin: { label: 'Admin', type: 'checkbox' },
},
async authorize(credentials) {
// Take credentials and convert the isAdmin string to a boolean
const { firstName, lastName, email, password, isAdmin } = await validateCredentials(
{
...credentials,