plugins misc_account, misc_register_account: manually delete the sessions when not needed anymore
This commit is contained in:
parent
8be7416569
commit
ae45889d50
1 changed files with 5 additions and 2 deletions
|
|
@ -191,7 +191,7 @@ class Params(object):
|
|||
elif return_profile_keys and profile_key in ["@ALL@"]:
|
||||
return profile_key # this value must be managed by the caller
|
||||
if not self.storage.hasProfile(profile_key):
|
||||
log.error(_('Trying to access an unknown profile'))
|
||||
log.error(_('Trying to access an unknown profile (%s)') % profile_key)
|
||||
return "" # FIXME: raise exceptions.ProfileUnknownError here (must be well checked, this method is used in lot of places)
|
||||
return profile_key
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue