mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 13:07:02 +00:00
feature/Add connector method checkExternalUserExists part 2
This commit is contained in:
parent
fdb52731fa
commit
83ec9eefa6
@ -8,7 +8,7 @@
|
||||
<groupId>com.tesobe</groupId>
|
||||
<artifactId>obp-parent</artifactId>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
<version>1.6.3</version>
|
||||
<version>1.6.4</version>
|
||||
</parent>
|
||||
<artifactId>obp-api</artifactId>
|
||||
<packaging>war</packaging>
|
||||
|
||||
@ -123,7 +123,7 @@ class AuthUser extends MegaProtoUser[AuthUser] with MdcLoggable {
|
||||
override def validations = isEmpty(Helper.i18n("Please.enter.your.username")) _ ::
|
||||
valUnique(Helper.i18n("unique.username")) _ ::
|
||||
valUniqueExternally(Helper.i18n("unique.username")) _ ::
|
||||
super.validations
|
||||
super.validations.distinct
|
||||
override val fieldId = Some(Text("txtUsername"))
|
||||
|
||||
/**
|
||||
@ -137,6 +137,7 @@ class AuthUser extends MegaProtoUser[AuthUser] with MdcLoggable {
|
||||
case username if username == name => List(FieldError(this, Text(msg))) // issue 179
|
||||
case _ => Nil
|
||||
}
|
||||
case ParamFailure(message,_,_,_) if message.contains("NO DATA") => Nil
|
||||
case _ => List(FieldError(this, Text(msg))) // issue 179
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<groupId>com.tesobe</groupId>
|
||||
<artifactId>obp-parent</artifactId>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
<version>1.6.3</version>
|
||||
<version>1.6.4</version>
|
||||
</parent>
|
||||
<artifactId>obp-commons</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user