diff options
author | Andreas Abraham <andreas.abraham@egiz.gv.at> | 2021-08-11 13:47:32 +0200 |
---|---|---|
committer | Andreas Abraham <andreas.abraham@egiz.gv.at> | 2021-08-11 13:47:32 +0200 |
commit | 859e88bb68f0460b126c4f4f7ef1c1c1273d982c (patch) | |
tree | ab6267e7709566de17b7679f9d836b4210840503 /pdf-over-gui/src/main/java/at | |
parent | 767c9948116bf49d752a4c671fce57fa94b9c714 (diff) | |
download | pdf-over-859e88bb68f0460b126c4f4f7ef1c1c1273d982c.tar.gz pdf-over-859e88bb68f0460b126c4f4f7ef1c1c1273d982c.tar.bz2 pdf-over-859e88bb68f0460b126c4f4f7ef1c1c1273d982c.zip |
mobile phone number verification removed
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java index f10ea855..250cc238 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java @@ -66,8 +66,7 @@ public class MobileBKUEnterNumberComposite extends StateComposite { String number = MobileBKUEnterNumberComposite.this.txt_number
.getText();
-
- number = MobileBKUHelper.normalizeMobileNumber(number);
+ number = number.replaceAll("\\s","");
MobileBKUEnterNumberComposite.this.setMobileNumber(number);
@@ -83,11 +82,6 @@ public class MobileBKUEnterNumberComposite extends StateComposite { MobileBKUEnterNumberComposite.this.btn_ok.setEnabled(false);
- } catch(InvalidNumberException ex) {
- log.error("Validating input for Mobile BKU failed!", ex); //$NON-NLS-1$
- MobileBKUEnterNumberComposite.this
- .setErrorMessage(Messages.getString("error.InvalidPhoneNumber")); //$NON-NLS-1$
- MobileBKUEnterNumberComposite.this.txt_number.setFocus();
} catch(InvalidPasswordException ex) {
log.error("Validating input for Mobile BKU failed!", ex); //$NON-NLS-1$
MobileBKUEnterNumberComposite.this
|