diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index e48e422fa..3cda93a4f 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -309,7 +309,7 @@ var AuthPrompt = GObject.registerClass({ if (question === 'Password:' || question === 'Password: ') this.setQuestion(_('Password')); else - this.setQuestion(question.replace(/: *$/, '').trim()); + this.setQuestion(question.replace(/[::] *$/, '').trim()); this.updateSensitivity(true); this.emit('prompted');