mirror of
https://github.com/netzbegruenung/keycloak-2fa-sms-authenticator.git
synced 2024-05-11 15:16:09 +02:00
parent
8180caee78
commit
9c2f8bd4d0
2
pom.xml
2
pom.xml
|
@ -6,7 +6,7 @@
|
|||
|
||||
<groupId>netzbegruenung</groupId>
|
||||
<artifactId>keycloak-2fa-sms-authenticator</artifactId>
|
||||
<version>0.1.4</version>
|
||||
<version>0.1.5</version>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
|
|
@ -136,7 +136,7 @@ public class ApiSmsService implements SmsService{
|
|||
return phone_number;
|
||||
}
|
||||
if (phone_number.startsWith("00")) {
|
||||
return phone_number.replaceFirst("00", countrycode);
|
||||
return phone_number.replaceFirst("00", "+");
|
||||
}
|
||||
if (phone_number.startsWith("0")) {
|
||||
return phone_number.replaceFirst("0", countrycode);
|
||||
|
|
Loading…
Reference in a new issue