diff --git a/app/models/user.rb b/app/models/user.rb index 438eaf6189eea18ed1652d122f5241de8b4867cb..de9d35036cfce011b91ab086cfe91b45cfaa46cf 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -359,8 +359,8 @@ class User < ApplicationRecord new_level, remaining_xp = calculate_level(xp) self.level = new_level - #if the new level is more than 5, give him curator role - if new_level >= 5 && !self.is_curator? + #if the new level is more than 3 or equal, give them curator role + if new_level >= 3 && !self.is_curator? self.roles << Role.find_by(name: 'curator') end