mirror of
https://github.com/dkmstr/openuds.git
synced 2025-11-02 04:24:15 +03:00
Reafactorization and fixes
Refactorized some exceptions names Fixed Spice Protocol Added "getConsoleConnection" as optional UserDeployment method
This commit is contained in:
@@ -250,7 +250,7 @@ class RegexLdap(auths.Authenticator):
|
||||
try:
|
||||
re.search(pattern, '')
|
||||
except Exception:
|
||||
raise exceptions.ValidationException(
|
||||
raise exceptions.ValidationError(
|
||||
'Invalid pattern in {0}: {1}'.format(fieldLabel, line)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user