Problem Summary
From Redmine:
การ register ให้ allow แต่อีเมลมหาลัย
Root Cause Analysis
ต้องการให้ register แต่อีเมลมหาลัยเท่านั้น
- @spu.ac.th
- @chonburi.spu.ac.th
From Redmine:
การ register ให้ allow แต่อีเมลมหาลัย
ต้องการให้ register แต่อีเมลมหาลัยเท่านั้น
แก้ไขไฟล์คอนฟิกเพื่อจำกัดโดเมนอีเมลที่อนุญาตให้ลงทะเบียนได้ที่:
[dspace]/config/modules/authentication-password.cfg
กำหนดค่า parameter authentication-password.domain.valid ดังนี้:
authentication-password.domain.valid = @spu.ac.th, @chonburi.spu.ac.th
ทำการ Restart DSpace Backend (Tomcat) เพื่อให้การตั้งค่ามีผล
Accounts can be registered for mail addresses of the domains @spu.ac.th, @chonburi.spu.ac.th