File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ router.post(
111
111
} )
112
112
. catch ( ( e ) => {
113
113
console . error (
114
- `Failed to send password reset email to ${ user . handle } : ${ e } ` ,
114
+ `Failed to send password reset email to ${ user . tag } : ${ e } ` ,
115
115
) ;
116
116
throw new HTTPError ( "Failed to send password reset email" , 500 ) ;
117
117
} ) ;
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ export class User extends BaseClass {
341
341
}
342
342
}
343
343
344
- public get handle ( ) : string {
344
+ public get tag ( ) : string {
345
345
const { pomeloEnabled } = Config . get ( ) . general ;
346
346
347
347
// if pomelo is enabled, global_name should be set
@@ -427,7 +427,7 @@ export class User extends BaseClass {
427
427
if ( ! Config . get ( ) . defaults . user . verified && email ) {
428
428
await Email . sendVerifyEmail ( user , email ) . catch ( ( e ) => {
429
429
console . error (
430
- `Failed to send verification email to ${ user . handle } : ${ e } ` ,
430
+ `Failed to send verification email to ${ user . tag } : ${ e } ` ,
431
431
) ;
432
432
} ) ;
433
433
}
You can’t perform that action at this time.
0 commit comments