Compare commits
2 Commits
29264aad98
...
9082ee45d8
| Author | SHA1 | Date | |
|---|---|---|---|
|
9082ee45d8
|
|||
|
7df56479a4
|
@@ -6,7 +6,7 @@ class WebKeyDirectoryController < WellKnownController
|
||||
@user = User.find_by(cn: params[:l].downcase)
|
||||
|
||||
if @user.nil? ||
|
||||
@user.pgp_pubkey.empty? ||
|
||||
@user.pgp_pubkey.blank? ||
|
||||
!@user.pgp_pubkey_contains_user_address?
|
||||
http_status :not_found and return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user