We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84abfe9 commit ef9dd87Copy full SHA for ef9dd87
app/controllers/users/nbp_wallet_controller.rb
@@ -49,6 +49,9 @@ def finalize
49
private
50
51
def accept_and_create_user(relationship) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
52
+ # Enmeshed::Relationship checks for the presence of all the requested attributes first and later parses the
53
+ # provided status group. If it is not a synonym of the valid ones, the attribute is cleared so that a fitting
54
+ # alert can be passed on to the user here.
55
if relationship.userdata[:status_group].blank?
56
abort_and_refresh(
57
relationship,
0 commit comments