-rw-r--r-- | libopie2/opiesecurity/multiauthmainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opiesecurity/multiauthmainwindow.cpp b/libopie2/opiesecurity/multiauthmainwindow.cpp index e60d245..6404811 100644 --- a/libopie2/opiesecurity/multiauthmainwindow.cpp +++ b/libopie2/opiesecurity/multiauthmainwindow.cpp | |||
@@ -117,28 +117,29 @@ void MultiauthMainWindow::proceed() { | |||
117 | } else { | 117 | } else { |
118 | if ( message2 != 0 ) message2->hide(); | 118 | if ( message2 != 0 ) message2->hide(); |
119 | } | 119 | } |
120 | } | 120 | } |
121 | else | 121 | else |
122 | { | 122 | { |
123 | // authentication has failed, explain that according to allowBypass | 123 | // authentication has failed, explain that according to allowBypass |
124 | message->setText( "<center><h3>" + tr("You have <b>not</b> succeeded enough authentication steps!") + "</h3></center>" ); | 124 | message->setText( "<center><h3>" + tr("You have <b>not</b> succeeded enough authentication steps!") + "</h3></center>" ); |
125 | proceedButton->show(); | 125 | proceedButton->show(); |
126 | if ( allowBypass == true ) | 126 | if ( allowBypass == true ) |
127 | { | 127 | { |
128 | message2->setText( "<center><p>" + tr("Be careful: if this was not a <b>simulation</b>, you would have to go back through all the steps now.") + "</p></center>" ); | 128 | message2->setText( "<center><p>" + tr("Be careful: if this was not a <b>simulation</b>, you would have to go back through all the steps now.") + "</p></center>" ); |
129 | message2->show(); | 129 | message2->show(); |
130 | } | 130 | } |
131 | } | 131 | } |
132 | } | 132 | } |
133 | } | ||
133 | 134 | ||
134 | /** When we don't show explanatory screens and we succeed authentication, | 135 | /** When we don't show explanatory screens and we succeed authentication, |
135 | * as early as during the proceed() call of the constructor, the caller must know | 136 | * as early as during the proceed() call of the constructor, the caller must know |
136 | * (through this function) authentication has already been succeeded.. | 137 | * (through this function) authentication has already been succeeded.. |
137 | * \todo try to avoid this hack? | 138 | * \todo try to avoid this hack? |
138 | */ | 139 | */ |
139 | bool MultiauthMainWindow::isAlreadyDone() { | 140 | bool MultiauthMainWindow::isAlreadyDone() { |
140 | return alreadyDone; | 141 | return alreadyDone; |
141 | } | 142 | } |
142 | 143 | ||
143 | } | 144 | } |
144 | } | 145 | } |