File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,7 @@ export class AppStringProcessor {
88
88
}
89
89
90
90
const tokenResult = await this . runtime . anonymousServices . tokens . loadPeerToken ( { reference : truncatedReference , password : password } ) ;
91
- if ( tokenResult . isError ) {
92
- // TODO: should it be possible to ask for the password again when it was wrong?
93
- return UserfriendlyResult . fail ( UserfriendlyApplicationError . fromError ( tokenResult . error ) ) ;
94
- }
91
+ if ( tokenResult . isError ) return UserfriendlyResult . fail ( UserfriendlyApplicationError . fromError ( tokenResult . error ) ) ;
95
92
96
93
const tokenDTO = tokenResult . value ;
97
94
const tokenContent = this . parseTokenContent ( tokenDTO . content ) ;
@@ -144,7 +141,6 @@ export class AppStringProcessor {
144
141
) ;
145
142
}
146
143
147
- // TODO: should it be possible to ask for the password again when it was wrong?
148
144
return UserfriendlyResult . fail ( UserfriendlyApplicationError . fromError ( result . error ) ) ;
149
145
}
150
146
You can’t perform that action at this time.
0 commit comments