mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 08:43:37 +02:00
Bump depp version
This commit is contained in:
parent
aa2b46241a
commit
d0bffdd5fc
4 changed files with 26 additions and 15 deletions
|
@ -48,6 +48,13 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
end
|
||||
|
||||
def depp_current_user
|
||||
@depp_current_user ||= Depp::User.new(
|
||||
tag: current_user.username,
|
||||
password: current_user.password
|
||||
)
|
||||
end
|
||||
|
||||
def api_user_log_str(user)
|
||||
if user.present?
|
||||
"#{user.id}-api-#{user.username}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue