mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
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:
committed by
Tim Abbott
parent
d25bfb88d3
commit
cd2d798498
20
zerver/migrations/0058_realm_email_changes_disabled.py
Normal file
20
zerver/migrations/0058_realm_email_changes_disabled.py
Normal 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),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user