Skip to content

Commit f98013b

Browse files
Fix alert message translation for SAML email edit restriction in user profile and admin user edit views
1 parent ce25e78 commit f98013b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/views/admin/users/edit.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@
483483
if (this.emailHasChanged) {
484484
if (this.ssoUser) {
485485
let message = 'Email address for users created via SAML synchronization cannot be edited manually.';
486-
ProcessMaker.alert(this.$t($message), 'warning');
486+
ProcessMaker.alert(this.$t(message), 'warning');
487487
return;
488488
} else {
489489
$('#validateModal').modal('show');

resources/views/profile/edit.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
if(this.emailHasChanged) {
196196
if (this.ssoUser) {
197197
let message = 'Email address for users created via SAML synchronization cannot be edited manually.';
198-
ProcessMaker.alert(this.$t($message), 'warning');
198+
ProcessMaker.alert(this.$t(message), 'warning');
199199
return;
200200
} else {
201201
$('#validateModal').modal('show');

0 commit comments

Comments
 (0)