admin: Added realm option to prevent users from changing their email.

A realm option to prevent users from changing their email address is added.
Fixes #3777.
This commit is contained in:
Raghav Jajodia
2017-03-04 11:09:45 +05:30
committed by Tim Abbott
parent d25bfb88d3
commit cd2d798498
14 changed files with 149 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-27 14:34
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('zerver', '0057_realmauditlog'),
]
operations = [
migrations.AddField(
model_name='realm',
name='email_changes_disabled',
field=models.BooleanField(default=False),
),
]