aboutsummaryrefslogtreecommitdiffstats
path: root/models/fixtures/user.yml
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-05-02 03:49:55 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2017-05-02 08:49:55 +0800
commit0144817971012bed2b00784064c37b1e7e5acff3 (patch)
treec1a6a95b1a1958901367c50031dcee5e85589872 /models/fixtures/user.yml
parent3ebbdfaa757e1299b3a495c8fc711d574c0d278f (diff)
downloadgitea-0144817971012bed2b00784064c37b1e7e5acff3.tar.gz
gitea-0144817971012bed2b00784064c37b1e7e5acff3.zip
Do not allow commiting to protected branch from online editor (#1502)
* Do not allow commiting to protected branch from online editor * Add editor integration tests for adding new file and not allowing to add new file to protected branch
Diffstat (limited to 'models/fixtures/user.yml')
-rw-r--r--models/fixtures/user.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/models/fixtures/user.yml b/models/fixtures/user.yml
index 409747aa12..dd8554c58b 100644
--- a/models/fixtures/user.yml
+++ b/models/fixtures/user.yml
@@ -18,15 +18,16 @@
name: user2
full_name: User Two
email: user2@example.com
- passwd: password
+ passwd: 7d93daa0d1e6f2305cc8fa496847d61dc7320bb16262f9c55dd753480207234cdd96a93194e408341971742f4701772a025a # password
type: 0 # individual
- salt: salt
+ salt: ZogKvWdyEx
is_admin: false
avatar: avatar2
avatar_email: user2@example.com
num_repos: 2
num_stars: 2
num_followers: 1
+ is_active: true
-
id: 3