Skip to content

Scheduling infrastructure for absolutely everyone.

added disabled email input box to settings, contact [email protected] (#852)

Peer Richelsen785058558ca1
diff --git a/pages/settings/profile.tsx b/pages/settings/profile.tsx
index b56cd7d4e42..478111d02b8 100644
--- a/pages/settings/profile.tsx
+++ b/pages/settings/profile.tsx
@@ -199,6 +199,29 @@ export default function Settings(props: Props) {
</div>
</div>
+ <div className="block sm:flex">
+ <div className="w-full sm:w-1/2 sm:mr-2 mb-6">
+ <label htmlFor="email" className="block text-sm font-medium text-gray-700">
+ Email
+ </label>
+ <input
+ type="text"
+ name="email"
+ id="email"
+ placeholder="Your email"
+ disabled
+ className="mt-1 block w-full py-2 px-3 text-gray-500 border border-gray-300 rounded-l-sm bg-gray-50 sm:text-sm"
+ defaultValue={props.user.email}
+ />
+ <p className="mt-2 text-sm text-gray-500" id="email-description">
+ To change your email, please contact{" "}
+ <a className="text-blue-500" href="mailto:[email protected]">
+ </a>
+ </p>
+ </div>
+ </div>
+
<div>
<label htmlFor="about" className="block text-sm font-medium text-gray-700">
About