Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
f1518317
Commit
f1518317
authored
Jan 09, 2019
by
kaniini
Browse files
user: fix auth_active?/1 for remote users
parent
0015d43e
Pipeline
#6090
passed with stages
in 3 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/user.ex
View file @
f1518317
...
...
@@ -44,7 +44,7 @@ defmodule Pleroma.User do
timestamps
()
end
def
auth_active?
(%
User
{
local:
false
}),
do
:
fals
e
def
auth_active?
(%
User
{
local:
false
}),
do
:
tru
e
def
auth_active?
(%
User
{
info:
%
User
.
Info
{
confirmation_pending:
false
}}),
do
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment