File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ const photoboothTools = (function () {
165165 }
166166
167167 api . csrfReloadScheduled = true ;
168- const message = 'Session expired. Reloading...' ;
169- api . console . log ( 'CSRF mismatch detected. ' , context ) ;
168+ const message = api . getTranslation ( 'csrf_session_reloading' ) ;
169+ api . console . log ( 'ERROR: CSRF token mismatch ' , context ) ;
170170 api . overlay . showWarning ( message ) ;
171171 setTimeout ( ( ) => {
172172 api . reloadPage ( ) ;
Original file line number Diff line number Diff line change 122122 "commands:take_picture_cmd" : " Take picture command" ,
123123 "commands:take_video_cmd" : " Command to take a video" ,
124124 "confirm" : " confirm" ,
125+ "csrf_session_reloading" : " Session expired. Reloading..." ,
125126 "current_version" : " Installed:" ,
126127 "currentPhpVersion" : " Current PHP version:" ,
127128 "custom" : " Custom" ,
You can’t perform that action at this time.
0 commit comments