File tree Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ export default defineNuxtConfig({
1111 whitelist : [ '/noauth' ] ,
1212 tokenExpiration : 10 ,
1313 // this makes the tests fails for some unknown reason
14- // permissions: {
15- // admin: ['*'],
16- // },
14+ // without this you can not login to the playground
15+ /* permissions: {
16+ admin: ['*'],
17+ }, */
1718 } ,
1819 passwordValidation : {
1920 minLength : 3 ,
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- /* import type { UserWithoutPassword } from '../../src/types'
2+ import type { UserWithoutPassword } from ' ../../src/types'
33
44const handleProfileSuccess = (user : UserWithoutPassword ) => {
55 console .log (' Profile loaded successfully:' , user )
@@ -15,7 +15,7 @@ const handlePasswordUpdated = () => {
1515
1616const handlePasswordError = (error : string ) => {
1717 console .error (' Password update error:' , error )
18- } */
18+ }
1919 </script >
2020
2121<template >
@@ -28,15 +28,12 @@ const handlePasswordError = (error: string) => {
2828
2929 <NUsersProfileInfo />
3030
31- <!--
32- TODO: Add reset password form, now this prevents profile to load with no error messages
3331 <NUsersResetPasswordForm
3432 @success =" handleProfileSuccess"
3533 @error =" handleProfileError"
3634 @password-updated =" handlePasswordUpdated"
3735 @password-error =" handlePasswordError"
3836 />
39- -->
4037
4138 <div class =" navigation" >
4239 <NuxtLink
Original file line number Diff line number Diff line change @@ -9,6 +9,3 @@ export type {
99 LoginFormData ,
1010 ModuleOptions
1111} from '../types'
12-
13- // Export server utilities for consumers (server-side only)
14- export { getLastLoginTime , findUserByEmail , getCurrentUserFromToken } from '../runtime/server/utils/user'
You can’t perform that action at this time.
0 commit comments